﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Catering_Model
{
    [Serializable]
    public partial class DailyCaiGouInfo
    {
        #region 字段
        private int m_id;   //主键编号
        private int m_DailyManagementID;   //日报管理编号
        private string m_GroupID;   //作业区编号
        private string m_ClassID;   //班组编号
        private string m_AccessName;   //产品名称
        private string m_ModelRuler;   //型号规格
        private string m_AccessUnit;   //单位
        private decimal m_AccessNumber;   //数量
        private string m_ConDesc;   //备注
        #endregion

        #region 属性

        /// <summary>
        /// 主键编号
        /// </summary>
        public int id
        {
            get { return m_id; }
            set { m_id = value; }
        }

        /// <summary>
        /// 日报管理编号
        /// </summary>
        public int DailyManagementID
        {
            get { return m_DailyManagementID; }
            set { m_DailyManagementID = value; }
        }

        /// <summary>
        /// 作业区编号
        /// </summary>
        public string GroupID
        {
            get { return m_GroupID; }
            set { m_GroupID = value; }
        }

        /// <summary>
        /// 班组编号
        /// </summary>
        public string ClassID
        {
            get { return m_ClassID; }
            set { m_ClassID = value; }
        }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string AccessName
        {
            get { return m_AccessName; }
            set { m_AccessName = value; }
        }

        /// <summary>
        /// 型号规格
        /// </summary>
        public string ModelRuler
        {
            get { return m_ModelRuler; }
            set { m_ModelRuler = value; }
        }

        /// <summary>
        /// 单位
        /// </summary>
        public string AccessUnit
        {
            get { return m_AccessUnit; }
            set { m_AccessUnit = value; }
        }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal AccessNumber
        {
            get { return m_AccessNumber; }
            set { m_AccessNumber = value; }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string ConDesc
        {
            get { return m_ConDesc; }
            set { m_ConDesc = value; }
        }
        #endregion
    }

    public enum EnumDailyCaiGouInfo
    {

        /// <summary>
        /// 主键编号
        /// </summary>
        id,

        /// <summary>
        /// 日报管理编号
        /// </summary>
        DailyManagementID,

        /// <summary>
        /// 作业区编号
        /// </summary>
        GroupID,

        /// <summary>
        /// 班组编号
        /// </summary>
        ClassID,

        /// <summary>
        /// 产品名称
        /// </summary>
        AccessName,

        /// <summary>
        /// 型号规格
        /// </summary>
        ModelRuler,

        /// <summary>
        /// 单位
        /// </summary>
        AccessUnit,

        /// <summary>
        /// 数量
        /// </summary>
        AccessNumber,

        /// <summary>
        /// 备注
        /// </summary>
        ConDesc
    }
}
